<?php
	session_start();	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Yui Chat</title>
		<!-- Individual YUI CSS files --> 
		<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css"> 
		<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/base/base-min.css"> 
		<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/assets/skins/sam/skin.css">
		  
		<!-- Individual YUI JS files --> 
		<?php echo "<script type='text/javascript'>var SID = '".session_id()."';</script>"; ?>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/yahoo-dom-event/yahoo-dom-event.js"></script> 
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/element/element-min.js"></script> 
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/button/button-min.js"></script> 
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/connection/connection-min.js"></script>		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/json/json-min.js"></script>
		<script type="text/javascript" src="chat.js"></script> 
	</head>
	<body>
		<div id="online"></div>
		<div id="messageBoard"></div>
		<input type="text" id="txtMessage" name="txtMessage" />	
		<button id="btnSend" name="btnSend">Send</button>
		<br/>
		<select id="sbSex">
			<option value="0">Doesn't matter</option>
			<option value="1">Man looking woman</option>
			<option value="2">Woman looking man</option>
			<option value="3">Man looking Man</option>
			<option value="4">Woman looking Woman</option>			
		</select>				
		<button id="btnConnect" name="btnConnect">Connect</button>
		<button id="btnDisconnect" name="btnDisconnect">Disconnect</button>
	</body>	
</html>